package com.mmd.user.model.constant;

public interface UserConstant {

    // 0不是店铺,1是店铺
    interface Merchant {
        int noMerchant = 0;
        int isMerchant = 1;
    }

    // 身份
    interface CheckStatus {
        int check=0;
        int pass=1;
        int no=2;
    }

    // 关注状态 0关注 1已关注 2回关 3互关 4代表自己再看自己的作品(前端无需管4,其余判断好即可)
    interface Attention {
        int attention = 0;
        int alreadyAttention = 1;
        int answerAttention = 2;
        int mutualAttention = 3;
        int oneselfAttention = 4;
    }

    // 0未读,1已读
    interface Read {
        int not = 0;
        int yes = 1;
    }

    // 直播权限 0无1有
    interface LiveStatus {
        int no = 0;
        int yes = 1;
    }


    interface AppStatus {
        int no = 0;
        int yes = 1;
        int notNo = 2;
    }

    //0下架中,1公开2草稿箱3私密
    interface DynamicStatus {
        int no = 0;
        int yes = 1;
        int draft = 2;
        int privacy = 3;
    }

    // 是否正在直播 0未直播,1直播中
    interface Live {
        int closeLive = 0;
        int openLive = 1;
    }

    // 余额类型 0余额1积分
    interface BalanceType {
        int task = 0;
        int integel = 1;
    }

    // 是否默认地址 0不是 1是
    interface UserAddressDefault {
        int not = 0;
        int yes = 1;
    }



    //0现金1现金+积分2现金+红包余额3现金+购购金4现金+消费金
    interface PayType {
        int XJ = 0;
        int XJ_JF = 1;
        int XJ_HB = 2;
        int XJ_GGJ = 3;
        int XJ_XFJ = 4;
    }


    //0未移除1移除
    interface IsUndock {
        int XJ = 0;
        int XJ_JF = 1;
    }


    //0动态1评论
    interface LinkType {
        int dynamic = 0;
        int comment = 1;
    }

    // 身份
    interface AgencyIdentityId {
        Long server = 1L;
        Long operation = 2L;
        Long task = 3L;
        Long live = 4L;
    }


    // 身份
    interface UserCacheTemplate {
        String auth = "user:";
    }

    // 身份
    interface MqEvent {
        String modfiy="modfiy";
        String add="add";
    }


    // 积分变动缓存key
    interface IntegralCacheKey {
        String isOnlineIntegralAdd = "isOnlineIntegralAdd:";
    }

}
